<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        table,td,th{
            /*边框  线型  线宽  颜色*/
            border: 1px solid black;
        /*    折叠边框*/
            border-collapse: collapse;
        }
        table{
            width: 100%;
        }
        th{
            height: 50px;
            background-color: skyblue;
        }
        td{
            height: 50px;
            /*padding: 15px;*/
            /*水平对齐*/
            text-align: center;
        /*    垂直对齐*/
            vertical-align: bottom;
        }
    </style>
</head>
<body>

<table>
    <thead>
        <tr>
            <th>ID</th>
            <th>姓名</th>
            <th>年龄</th>
            <th>性别</th>
        </tr>
    </thead>
   <tbody>
       <tr>
           <td>20241227001</td>
           <td>xiaoming</td>
           <td>21</td>
           <td>男</td>
       </tr>
       <tr>
           <td>20241227001</td>
           <td>xiaoming</td>
           <td>21</td>
           <td>男</td>
       </tr>
       <tr>
           <td>20241227001</td>
           <td>xiaoming</td>
           <td>21</td>
           <td>男</td>
       </tr>
   </tbody>

</table>

</body>
</html>